﻿namespace EveKillboard
{
    using System.Web.Mvc;

    public static class Helper
    {
         public static bool IsDebug()
         {
#if DEBUG
             return true;
#else
             return false;
#endif
         }

        public static bool IsInGame(ControllerBase controller)
        {
            return controller is LocalizedController && ((LocalizedController) controller).IsInGame;
        }
    }
}